## page velocity parameters (needs to be set as Velocity parameters to the preprocessor)
## - staticPath
##
## - allowedRoles

<script type="text/javascript" src="http://cdn.sencha.io/ext-4.0.7-gpl/ext-all.js"></script>

#if($allowedRoles)
  #set($allowedRolesFix = "[${allowedRoles}]")
<script type="text/javascript">
  rolesAllowed = ${allowedRolesFix};
</script>
#end

<script type="text/javascript" src="${staticPath}/@js/common.js@"></script>